// ****************************************************************************
// *     Filename:  TrackInfo.cc
// *  Description:  Customed track information
// *      License:  Geant4 Software License 
// *                http://geant4.cern.ch/license/LICENSE.html
// *       Author:  Tran Hoai Nam (nam at kuno-g.phys.sci.osaka-u.ac.jp)
// * Organization:  Osaka University
// *      Created:  2012-11-20 13:54:37
// ****************************************************************************
#include "TrackInfo.hh"

G4Allocator<TrackInfo> aTrackInfoAllocator;

TrackInfo::TrackInfo() 
{
	;
}

TrackInfo::TrackInfo(const G4Track *aTrack) 
{
	G4cout<<"TrackID: "<<aTrack->GetTrackID();
	G4cout<<", Volume: "<<aTrack->GetVolume()->GetName();
	G4cout<<", stepNo; "<<aTrack->GetCurrentStepNumber()<<G4endl;
}

TrackInfo::TrackInfo(const TrackInfo *aTrackInfo) 
{
	;
}

void TrackInfo::Print() const
{
	G4cout<<"TrackID: "<<fpreTrackID<<", particle: "<<fpPD->GetParticleName();
	G4cout<<"\n";
}
